﻿using Mbs.Modularity.AddIns;

namespace Mbs.Windows
{
    /// <summary>
    /// SmartPart View 接口
    /// </summary>
    public interface ISmartPartView:IView
    {
        /// <summary>
        /// SmartPart 视图数据
        /// </summary>
        ISmartPartInfo SmartPartInfo { get; set; }

        /// <summary>
        /// Workspace 名称
        /// </summary>
        string WorkspaceName { get; set; }

        /// <summary>
        /// 显示SmartPart
        /// </summary>
        void ShowSmartPart();

        /// <summary>
        /// 从配置文件中加载数据
        /// </summary>
        /// <param name="node"></param>
        void Load(IAddInItem node);
    }
}
